//
//  UIView+ProgressHUB.h
//  Manager
//
//  Created by scho on 2018/11/17.
//  Copyright © 2018 scho. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (ProgressHUB)

#pragma mark - Show MBProgressHUD
- (void)showHUD;
- (void)hideHUD;
- (void)showHUDWithText:(NSString*)text;
- (void)showHUDWithText:(NSString*)text delayHide:(NSTimeInterval)dalay;

// check data is good or bad by status, whether show tip HUB.
- (BOOL)checkResponseData:(NSDictionary*)info showTip:(BOOL)show;

@end

NS_ASSUME_NONNULL_END
